package com.hospital.acctmanage.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.acctmanage.module.entity.OutpRcptMaster;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lvyao
 * @since 2021-09-15
 */
public interface OutpRcptMasterMapper extends BaseMapper<OutpRcptMaster> {

    String getTokenUrl();
    String getWinno();
    int getMaxRcptNo(@Param("winno") String winno);
    String getSettleNo();
    Timestamp getSysdate();
    Integer updateOrderRcptnoBillno(@Param("rcptNo") String rcptNo, @Param("visitDate") String visitDate, @Param("visitNo") String visitNo);
    Integer updateBillRcptnoBillno(@Param("rcptNo") String rcptNo, @Param("visitDate") String visitDate, @Param("visitNo") String visitNo);
    int updatePrepaySend(@Param("rcptNo") String rcptNo, @Param("orderNo") String orderNo, @Param("tradeNo") String tradeNo, @Param("payWay") String payWay, @Param("amount") String amount);
}
